home *** CD-ROM | disk | FTP | other *** search
- on drawFlags showNow, test, timer, delay
- global gInSetup
- if showNow or gInSetup then
- setFlagsPuppet(305 + test + (delay * 2) + (timer * 4))
- else
- setFlagsPuppet(305)
- end if
- updateStage()
- end
-
- on drawToggle inDictation, test, isBrowseMode, isFromMenu
- if inDictation then
- set castStr to "Dict Icon"
- else
- if isBrowseMode then
- if isFromMenu then
- set castStr to "Browse Only Icon"
- else
- set castStr to "BROWSE-run Icon"
- end if
- else
- if test then
- set castStr to "Run Only Icon"
- else
- set castStr to "RUN-browse Icon"
- end if
- end if
- end if
- setTogglePuppet(castStr)
- end
-
- on drawScore
- global gScore
- showScorePuppet(gScore)
- updateStage()
- end
-
- on showControl
- global gTimer, gOldTimer, gInPlay, gMenu
- exitCycle()
- set gInPlay to 0
- if gMenu then
- set the enabled of menuItem 2 of menu "Special" to 0
- end if
- if gOldTimer = 0 then
- set gOldTimer to gTimer
- end if
- set gTimer to 0
- showjumpcontrol()
- if inChallenge() then
- set x to value(the text of cast "ModeType") - 1
- setOverlayPuppet(194 + (x mod 3 * 39), 115 + (x / 3 * 36), 207)
- else
- if the text of cast "BrowseType" = "A" then
- setOverlayPuppet(194, 270, 207)
- else
- if the text of cast "BrowseType" = "B" then
- setOverlayPuppet(233, 270, 207)
- else
- if the text of cast "BrowseType" = "C" then
- setOverlayPuppet(272, 270, 207)
- end if
- end if
- end if
- end if
- when mouseDown then controlClick
- updateStage()
- end
-